#ifndef _JFPDEF_H_
#define _JFPDEF_H_
#include "ast/Name.h"
#include "ast/exprType.h"

class JfpDef: public SimpleNode
{
public:
    NamePtr nameNode;
    exprTypePtr typeDef;

    JfpDef(const NamePtr& node, const exprTypePtr& typeDef):
        SimpleNode(-1),
        nameNode(node),
        typeDef(typeDef)
    {
    }
    virtual ~JfpDef(){}
};

typedef QSharedPointer<JfpDef> JfpDefPtr;

#endif
